package com.xyht.sca_s.student_manage_system.modules.assetConsumable.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 物品和仓库的关联
 * </p>
 *
 * @author XYHT
 * @since 2024-09-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_consumable_storage_manage_relation")
@ApiModel(value="SmsAssetConsumableStorageManageRelation对象", description="物品和仓库的关联")
public class SmsAssetConsumableStorageManageRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物品和仓库的关联 id")
    private String id;

    @ApiModelProperty(value = "物品id")
    private String assetConsumableId;

    @ApiModelProperty(value = "仓库id")
    private String consumableWarehouseId;

    @ApiModelProperty(value = "仓库")
    private String consumableWarehouse;

    @ApiModelProperty(value = "数量")
    private Integer consumableNum;

    @ApiModelProperty(value = "单价")
    private BigDecimal consumablePrice;

    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "数据添加用户id")
    private String addUserId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;


}
